﻿using Admin2024.Domain.Entity.System;
using Admin2024.Domain.ObjValue;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin2024.Domain.IDomainService.System.IUserService
{
    public interface IAuthenticationService
    {
        //登录
        Task<DomainResult<AppUser>> LoginUserAsync(string username, string password);
        //登出
        Task<DomainResult<AppUser>> LogoutUserAsync();
        //注册
        Task<DomainResult<AppUser>> RegisterUserAsync(string username, string password, string ConfirmPassword);


    }
}
